package com.dt76.smallloanbackendservice.controller.zjs;


import com.dt76.smallloanbackendservice.pojo.zjs.Member;

import com.dt76.smallloanbackendservice.service.zjs.MemberService;

import com.dt76.smallloanbackendservice.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("/zjs")
public class MemberController {

    @Autowired
    private MemberService memberService;
    @RequestMapping("/member")
    @ResponseBody
    public Page qryAllMember(@RequestParam("pageIndex") int pageIndex){

        return memberService.qryAllMember(pageIndex);}


    }


